package com.fdb.smcts.core.constant;

/**
 * 系统级的公共字典常量
 * @author szbd
 */
public class BaseConstant {
    
    /**是否：是*/
    public final static String YES = "1";
    /**是否：否*/
    public final static String NO = "2";
    
    /**性别：男*/
    public final static String SEX_MALE = "1";
    /**性别：女*/
    public final static String SEX_FEMALE = "2";
    /**性别：未知的性别*/
    public final static String SEX_UNKNOWN = "3";
    /**性别：未说明的性别*/
    public final static String SEX_UNEXPLAIN = "4";
    
    /**审批状态：待发起*/
    public final static String APPR_STATUS_000 = "000";
    /**审批状态：审批中*/
    public final static String APPR_STATUS_111 = "111";
    /**审批状态：撤销*/
    public final static String APPR_STATUS_990 = "990";
    /**审批状态：追回*/
    public final static String APPR_STATUS_991 = "991";
    /**审批状态：打回*/
    public final static String APPR_STATUS_992 = "992";
    /**审批状态：通过*/
    public final static String APPR_STATUS_997 = "997";
    /**审批状态：否决(不同意)*/
    public final static String APPR_STATUS_998 = "998";
    
    /**担保方式：信用*/
    public final static String ASSURE_MEANS_00 = "00";
    /**担保方式：抵押*/
    public final static String ASSURE_MEANS_10 = "10";
    /**担保方式：质押*/
    public final static String ASSURE_MEANS_20 = "20";
    /**担保方式：保证*/
    public final static String ASSURE_MEANS_30 = "30";
    
    /**期限类型：天*/
    public final static String TERM_TYPE_DAY = "D";
    /**期限类型：月*/
    public final static String TERM_TYPE_MONTH = "M";
    /**期限类型：年*/
    public final static String TERM_TYPE_YEAR = "Y";
    
    /**利率模式：固定利率*/
    public final static String IR_MODE_FIXED = "1";
    /**利率模式：浮动利率*/
    public final static String IR_MODE_FLOATING = "2";
    
    /**浮动方式：基准上浮*/
    public final static String IR_FLOAT_TYPE_UP = "1";
    /**浮动方式：基准下浮*/
    public final static String IR_FLOAT_TYPE_DOWN = "2";
    
    /**利率执行方式：立即生效*/
    public final static String IREXE_TYPE_0 = "0";
    /**利率执行方式：下期生效*/
    public final static String IREXE_TYPE_1 = "1";
    /**利率执行方式：对年对月对日生效*/
    public final static String IREXE_TYPE_2 = "2";
    /**利率执行方式：次年1月1日生效*/
    public final static String IREXE_TYPE_3 = "3";
    /**利率执行方式：次月1日生效*/
    public final static String IREXE_TYPE_4 = "4";
    /**利率执行方式：下季1日生效*/
    public final static String IREXE_TYPE_5 = "5";
    /**利率执行方式：固定不变*/
    public final static String IREXE_TYPE_6 = "6";
    
    /**利率调整方式：固定利率*/
    public final static String IR_ADJ_MODE_1 = "1";
    /**利率调整方式：立即调整*/
    public final static String IR_ADJ_MODE_2 = "2";
    /**利率调整方式：按月调整*/
    public final static String IR_ADJ_MODE_3 = "3";
    /**利率调整方式：按季调整*/
    public final static String IR_ADJ_MODE_4 = "4";
    /**利率调整方式：按年调整*/
    public final static String IR_ADJ_MODE_5 = "5";
    /**利率调整方式：月初调整*/
    public final static String IR_ADJ_MODE_6 = "6";
    /**利率调整方式：季初调整*/
    public final static String IR_ADJ_MODE_7 = "7";
    /**利率调整方式：置换*/
    public final static String IR_ADJ_MODE_8 = "8";
    
    /**系统ID*/
    public final static String SYS_ID_1001 = "1001";
    /**业务流转类型:产品*/
    public final static String BIZ_FLOW_TYPE_01 = "01";
    /**业务流转类型:悦农e贷*/
    public final static String BIZ_FLOW_TYPE_02 = "02";
    /**业务流转类型:白名单审核*/
    public final static String BIZ_FLOW_TYPE_03 = "03";
    /**业务流转类型:授信审批流程*/
    public final static String BIZ_FLOW_TYPE_04 = "04";
    /**业务流转类型:催收流转配置*/
    public final static String BIZ_FLOW_TYPE_06 = "06";



    /**省联社机构*/
    public final static String LEGAL_ORG_CODE_00001 = "00001";
    /**基准利率查询 贷款类型字典项-普通贷款*/
    public final static String RATE_TYPE_NAME_10= "10";
    
    
    /**产品三级目录-秒贷*/
    public final static String PRD_THL_DRI_01= "01";
    /**产品三级目录-快贷*/
    public final static String PRD_THL_DRI_02= "02";
    /**产品三级目录-易贷*/
    public final static String PRD_THL_DRI_03= "03";
    /**产品三级目录-场景贷*/
    public final static String PRD_THL_DRI_04= "04";
    /** 营业日期（在redis中的关键字） */
    public static final String OPENDAY = "openday";
    
    /** 批量插入表条数：1000 */
    public static final int batchInsertNum_1000=1000;
    /** 批量插入表条数：5000 */
    public static final int batchInsertNum_5000=5000;
    /** 合同加签时关键字 */
    public final static String KW_CONT_NAME = "借款人：";
    /** 征信授权书加签时关键字 */
    public final static String KW_CREDIT_NAME = "授权人姓名：";
    
    /* 额度恢复场景 实时 */
	public final static String SCENE_0 = "0";
	/* 额度恢复场景 批量 */
	public final static String SCENE_1 = "1";
	
	/* 额度恢复场景 部分还款 */
	public final static String RECOVER_1 = "1";
	/* 额度恢复场景 借据结清 */
	public final static String RECOVER_2 = "2";
	/* 额度恢复场景 放款失败 */
	public final static String RECOVER_3 = "3";
	/* 额度恢复场景 银行退票 */
	public final static String RECOVER_4 = "4";
    
    /* 放款状态 放款失败 */
	public final static String DN_STS_0 = "0";
	/* 放款状态 联合放款成功 */
	public final static String DN_STS_1 = "1";
	/* 放款状态 马上全额放款 */
	public final static String DN_STS_2 = "2";
	/* 放款状态 待放款 */
	public final static String DN_STS_3 = "3";
    /**
    * 普税贷产品对此部分代码做了变更
    * 说明：为了保持码值跟数据库字典项一致，对原有代码做了变更
    * 评估是否会影响线上功能：否
    * 评估时间：2020/5/25
    * 处理方案：保留变更
    */
	/* 放款状态 自营放款成功 */
	public final static String DN_STS_6 = "6";
	/* 代偿状态 未代偿 */
	public final static String COMPENSATION_STS_01 = "01";
	/* 代偿状态 代偿失败 */
	public final static String COMPENSATION_STS_02 = "02";
	/* 代偿状态 代偿成功 */
	public final static String COMPENSATION_STS_03 = "03";
	/* 代偿状态 处理中 */
	public final static String COMPENSATION_STS_04 = "04";
	/* 台账状态 正常 */
	public final static String STD_ZB_ACC_STATUS_1 = "1";
	/* 台账状态 冲正 */
	public final static String STD_ZB_ACC_STATUS_2 = "2";
	/* 台账状态 结清 */
	public final static String STD_ZB_ACC_STATUS_3 = "3";
	/* 台账状态 失败 */
	public final static String STD_ZB_ACC_STATUS_4 = "4";
	/* 业务品种 尊享贷 */
	public final static String BUSINESS_VARIETY_01 = "01010002";
	/* 业务品种 满易贷 */
	public final static String BUSINESS_VARIETY_02 = "01010001";
	/* 业务品种 税e贷 */
	public static  final String BUSINESS_VARIETY_SED = "11110001";
	/* 通过状态 通过 */
	public final static String CHECK_STS_01 = "01";
	/* 通过状态 未通过 */
	public final static String CHECK_STS_02 = "02";
	/* 网贷申请状态 01审批中 */
	public final static String NLS_APPLY_STATE_01 = "01";
	/* 网贷申请状态 02通过 */
	public final static String NLS_APPLY_STATE_02 = "02";
    /* 网贷申请状态 03拒绝 */
    public final static String NLS_APPLY_STATE_03 = "03";
    /* 网贷申请状态 07暂停 */
    public final static String NLS_APPLY_STATE_07 = "07";
	/* 马上年龄  */
	public final static int MS_AGE_START_22 = 22;
	/* 马上年龄  */
	public final static int MS_AGE_END_55 = 55;
    /* 马上女性年龄  */
    public final static int MS_AGE_END_50 = 50;

    /* 百度年龄  */
	public final static int BD_AGE_START_23 = 23;
	/* 百度年龄  */
	public final static int BD_AGE_END_55 = 55;
	
	/**是否：是 Y*/
    public final static String YES_Y =  "Y";
    /**是否：否 N */
    public final static String NO_N = "N";
    
    /** 税E贷授信准入男性年龄规则 */
    public static final int SED_MALE_AGE_59 = 59;
    /** 税E贷授信准入女性年龄规则 */
    public static final int SED_FEMALE_AGE_54 = 54;
    
    /** 系统操作默认赋值 */
	public static final String ADMIN = "admin";

    /** 通用状态：001 成功 */
    public static final String STD_GENERAL_STATUS_001 = "001";
    /** 通用状态：002 失败 */
    public static final String STD_GENERAL_STATUS_002 = "002";
    /** 通用状态：003 处理中 */
    public static final String STD_GENERAL_STATUS_003 = "003";
    /** 放款失败*/
    public static final String RY_STS_0 = "0";
    /** 放款成功*/
    public static final String RY_STS_1 = "1";

}
